@contentful/field-editor-markdown 0.17.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,335 +3,203 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [0.17.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.17.0...@contentful/field-editor-markdown@0.17.1) (2021-10-14)
7
-
8
- **Note:** Version bump only for package @contentful/field-editor-markdown
6
+ ## [1.0.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.0.1...@contentful/field-editor-markdown@1.0.2) (2021-12-03)
9
7
 
8
+ ### Bug Fixes
10
9
 
10
+ - markdown upload asset domain url to ctfasset.net [] ([#946](https://github.com/contentful/field-editors/issues/946)) ([21ef606](https://github.com/contentful/field-editors/commit/21ef606e941feff1e8db1189c9cb48f9a82728a0))
11
11
 
12
+ ## [1.0.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.0.0...@contentful/field-editor-markdown@1.0.1) (2021-11-17)
12
13
 
14
+ ### Bug Fixes
13
15
 
14
- # [0.17.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.16.4...@contentful/field-editor-markdown@0.17.0) (2021-10-06)
16
+ - **card-actions:** update forma 36 to fix card actions click issue ([#927](https://github.com/contentful/field-editors/issues/927)) ([3dfdef2](https://github.com/contentful/field-editors/commit/3dfdef2c2b0045f12ea94ddafca89a8e9f25e7d0))
15
17
 
18
+ # [1.0.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.18.0...@contentful/field-editor-markdown@1.0.0) (2021-11-04)
16
19
 
17
- ### Features
20
+ **Note:** Version bump only for package @contentful/field-editor-markdown
18
21
 
19
- * [EXT-3161] bump app sdk to v4 ([#881](https://github.com/contentful/field-editors/issues/881)) ([9c4a2af](https://github.com/contentful/field-editors/commit/9c4a2af07da203d59fb5f15c3a5188ecc64b1d44))
22
+ # [0.18.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.17.1...@contentful/field-editor-markdown@0.18.0) (2021-11-04)
20
23
 
24
+ ### Features
21
25
 
26
+ - Forma v4 components adoption ([#805](https://github.com/contentful/field-editors/issues/805)) ([526bde6](https://github.com/contentful/field-editors/commit/526bde6e10e0ee3789705ec10fb31489af7ca59e))
22
27
 
28
+ ### BREAKING CHANGES
23
29
 
30
+ - adopts a new Forma v4 beta
24
31
 
25
- ## [0.16.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.16.3...@contentful/field-editor-markdown@0.16.4) (2021-09-17)
32
+ ## [0.17.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.17.0...@contentful/field-editor-markdown@0.17.1) (2021-10-14)
26
33
 
27
34
  **Note:** Version bump only for package @contentful/field-editor-markdown
28
35
 
36
+ # [0.17.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.16.4...@contentful/field-editor-markdown@0.17.0) (2021-10-06)
29
37
 
38
+ ### Features
30
39
 
40
+ - [EXT-3161] bump app sdk to v4 ([#881](https://github.com/contentful/field-editors/issues/881)) ([9c4a2af](https://github.com/contentful/field-editors/commit/9c4a2af07da203d59fb5f15c3a5188ecc64b1d44))
31
41
 
32
-
33
- ## [0.16.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.16.2...@contentful/field-editor-markdown@0.16.3) (2021-09-16)
42
+ ## [0.16.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.16.3...@contentful/field-editor-markdown@0.16.4) (2021-09-17)
34
43
 
35
44
  **Note:** Version bump only for package @contentful/field-editor-markdown
36
45
 
46
+ ## [0.16.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.16.2...@contentful/field-editor-markdown@0.16.3) (2021-09-16)
37
47
 
38
-
39
-
48
+ **Note:** Version bump only for package @contentful/field-editor-markdown
40
49
 
41
50
  ## [0.16.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.16.1...@contentful/field-editor-markdown@0.16.2) (2021-08-19)
42
51
 
43
52
  **Note:** Version bump only for package @contentful/field-editor-markdown
44
53
 
45
-
46
-
47
-
48
-
49
54
  ## [0.16.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.16.0...@contentful/field-editor-markdown@0.16.1) (2021-07-29)
50
55
 
51
56
  **Note:** Version bump only for package @contentful/field-editor-markdown
52
57
 
53
-
54
-
55
-
56
-
57
58
  # [0.16.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.15.6...@contentful/field-editor-markdown@0.16.0) (2021-07-23)
58
59
 
59
-
60
60
  ### Features
61
61
 
62
- * 💡 new color tokens ([#778](https://github.com/contentful/field-editors/issues/778)) ([fba548d](https://github.com/contentful/field-editors/commit/fba548de32305016df7f2685634eefb14294828f))
63
-
64
-
65
-
66
-
62
+ - 💡 new color tokens ([#778](https://github.com/contentful/field-editors/issues/778)) ([fba548d](https://github.com/contentful/field-editors/commit/fba548de32305016df7f2685634eefb14294828f))
67
63
 
68
64
  ## [0.15.6](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.15.3...@contentful/field-editor-markdown@0.15.6) (2021-07-06)
69
65
 
70
66
  **Note:** Version bump only for package @contentful/field-editor-markdown
71
67
 
72
-
73
-
74
-
75
-
76
68
  ## [0.15.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.15.3...@contentful/field-editor-markdown@0.15.5) (2021-07-06)
77
69
 
78
70
  **Note:** Version bump only for package @contentful/field-editor-markdown
79
71
 
80
-
81
-
82
-
83
-
84
72
  ## [0.15.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.15.3...@contentful/field-editor-markdown@0.15.4) (2021-06-23)
85
73
 
86
74
  **Note:** Version bump only for package @contentful/field-editor-markdown
87
75
 
88
-
89
-
90
-
91
-
92
76
  ## [0.15.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.15.2...@contentful/field-editor-markdown@0.15.3) (2021-06-23)
93
77
 
94
78
  **Note:** Version bump only for package @contentful/field-editor-markdown
95
79
 
96
-
97
-
98
-
99
-
100
80
  ## [0.15.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.15.1...@contentful/field-editor-markdown@0.15.2) (2021-06-22)
101
81
 
102
82
  **Note:** Version bump only for package @contentful/field-editor-markdown
103
83
 
104
-
105
-
106
-
107
-
108
84
  ## [0.15.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.15.0...@contentful/field-editor-markdown@0.15.1) (2021-06-11)
109
85
 
110
-
111
86
  ### Bug Fixes
112
87
 
113
- * **markdown:** sanitize Markdown output in preview mode ([#740](https://github.com/contentful/field-editors/issues/740)) ([c50655e](https://github.com/contentful/field-editors/commit/c50655e22df750f22b404e396fb97a9b5c1c9009))
114
-
115
-
116
-
117
-
88
+ - **markdown:** sanitize Markdown output in preview mode ([#740](https://github.com/contentful/field-editors/issues/740)) ([c50655e](https://github.com/contentful/field-editors/commit/c50655e22df750f22b404e396fb97a9b5c1c9009))
118
89
 
119
90
  # [0.15.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.14.4...@contentful/field-editor-markdown@0.15.0) (2021-06-01)
120
91
 
121
-
122
92
  ### Features
123
93
 
124
- * gracefully handle void elements ([#734](https://github.com/contentful/field-editors/issues/734)) ([c359196](https://github.com/contentful/field-editors/commit/c35919604512d526340036f198268d1f26260603))
125
-
126
-
127
-
128
-
94
+ - gracefully handle void elements ([#734](https://github.com/contentful/field-editors/issues/734)) ([c359196](https://github.com/contentful/field-editors/commit/c35919604512d526340036f198268d1f26260603))
129
95
 
130
96
  ## [0.14.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.14.3...@contentful/field-editor-markdown@0.14.4) (2021-04-14)
131
97
 
132
-
133
98
  ### Bug Fixes
134
99
 
135
- * [] auto refresh json and markdown when rendered out of view ([#684](https://github.com/contentful/field-editors/issues/684)) ([faea939](https://github.com/contentful/field-editors/commit/faea93910c934f6ed74ebe4a949ee1d2eea7b28b))
136
-
137
-
138
-
139
-
100
+ - [] auto refresh json and markdown when rendered out of view ([#684](https://github.com/contentful/field-editors/issues/684)) ([faea939](https://github.com/contentful/field-editors/commit/faea93910c934f6ed74ebe4a949ee1d2eea7b28b))
140
101
 
141
102
  ## [0.14.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.14.2...@contentful/field-editor-markdown@0.14.3) (2021-03-22)
142
103
 
143
104
  **Note:** Version bump only for package @contentful/field-editor-markdown
144
105
 
145
-
146
-
147
-
148
-
149
106
  ## [0.14.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.14.1...@contentful/field-editor-markdown@0.14.2) (2021-03-05)
150
107
 
151
108
  **Note:** Version bump only for package @contentful/field-editor-markdown
152
109
 
153
-
154
-
155
-
156
-
157
110
  ## [0.14.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.14.0...@contentful/field-editor-markdown@0.14.1) (2021-03-04)
158
111
 
159
-
160
112
  ### Bug Fixes
161
113
 
162
- * 🐛 allow functional react in preview components ([#621](https://github.com/contentful/field-editors/issues/621)) ([77e7536](https://github.com/contentful/field-editors/commit/77e753690d74073ba5f80be7eecef871cb83fbbe))
163
-
164
-
165
-
166
-
114
+ - 🐛 allow functional react in preview components ([#621](https://github.com/contentful/field-editors/issues/621)) ([77e7536](https://github.com/contentful/field-editors/commit/77e753690d74073ba5f80be7eecef871cb83fbbe))
167
115
 
168
116
  # [0.14.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.13.2...@contentful/field-editor-markdown@0.14.0) (2021-02-19)
169
117
 
170
-
171
118
  ### Features
172
119
 
173
- * bump min version of forma-36 ([#606](https://github.com/contentful/field-editors/issues/606)) ([fd57c7a](https://github.com/contentful/field-editors/commit/fd57c7a4312766af38c01507f17706ab22992617))
174
-
175
-
176
-
177
-
120
+ - bump min version of forma-36 ([#606](https://github.com/contentful/field-editors/issues/606)) ([fd57c7a](https://github.com/contentful/field-editors/commit/fd57c7a4312766af38c01507f17706ab22992617))
178
121
 
179
122
  ## [0.13.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.13.1...@contentful/field-editor-markdown@0.13.2) (2021-02-09)
180
123
 
181
124
  **Note:** Version bump only for package @contentful/field-editor-markdown
182
125
 
183
-
184
-
185
-
186
-
187
126
  ## [0.13.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.13.0...@contentful/field-editor-markdown@0.13.1) (2021-02-08)
188
127
 
189
128
  **Note:** Version bump only for package @contentful/field-editor-markdown
190
129
 
191
-
192
-
193
-
194
-
195
130
  # [0.13.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.12.0...@contentful/field-editor-markdown@0.13.0) (2021-02-01)
196
131
 
197
-
198
132
  ### Features
199
133
 
200
- * swap ui-extension-sdk to app-sdk ([#576](https://github.com/contentful/field-editors/issues/576)) ([ac88b4b](https://github.com/contentful/field-editors/commit/ac88b4bd4573a72f521246fc8fcc873520ca90d4))
201
-
202
-
203
-
204
-
134
+ - swap ui-extension-sdk to app-sdk ([#576](https://github.com/contentful/field-editors/issues/576)) ([ac88b4b](https://github.com/contentful/field-editors/commit/ac88b4bd4573a72f521246fc8fcc873520ca90d4))
205
135
 
206
136
  # [0.12.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.11.1...@contentful/field-editor-markdown@0.12.0) (2021-01-20)
207
137
 
208
-
209
138
  ### Features
210
139
 
211
- * update minimal forma-36 versions to use updated design ([#565](https://github.com/contentful/field-editors/issues/565)) ([332c734](https://github.com/contentful/field-editors/commit/332c734bfaf54f0e9773fcbb460d743b1f5459ec))
212
-
213
-
214
-
215
-
140
+ - update minimal forma-36 versions to use updated design ([#565](https://github.com/contentful/field-editors/issues/565)) ([332c734](https://github.com/contentful/field-editors/commit/332c734bfaf54f0e9773fcbb460d743b1f5459ec))
216
141
 
217
142
  ## [0.11.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.11.0...@contentful/field-editor-markdown@0.11.1) (2021-01-12)
218
143
 
219
-
220
144
  ### Bug Fixes
221
145
 
222
- * use forma tokens for border radiuses ([#553](https://github.com/contentful/field-editors/issues/553)) ([f4eb745](https://github.com/contentful/field-editors/commit/f4eb74568c7bc0cc25028542821ba64e50e226bd))
223
-
224
-
225
-
226
-
146
+ - use forma tokens for border radiuses ([#553](https://github.com/contentful/field-editors/issues/553)) ([f4eb745](https://github.com/contentful/field-editors/commit/f4eb74568c7bc0cc25028542821ba64e50e226bd))
227
147
 
228
148
  # [0.11.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.10.2...@contentful/field-editor-markdown@0.11.0) (2021-01-12)
229
149
 
230
-
231
150
  ### Features
232
151
 
233
- * update minimal required Forma version to the 3.73.12 ([#552](https://github.com/contentful/field-editors/issues/552)) ([2816fd9](https://github.com/contentful/field-editors/commit/2816fd960c28815faebf49a9ef8f4c4c0d91fc36))
234
-
235
-
236
-
237
-
152
+ - update minimal required Forma version to the 3.73.12 ([#552](https://github.com/contentful/field-editors/issues/552)) ([2816fd9](https://github.com/contentful/field-editors/commit/2816fd960c28815faebf49a9ef8f4c4c0d91fc36))
238
153
 
239
154
  ## [0.10.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.10.1...@contentful/field-editor-markdown@0.10.2) (2021-01-11)
240
155
 
241
156
  **Note:** Version bump only for package @contentful/field-editor-markdown
242
157
 
243
-
244
-
245
-
246
-
247
158
  ## [0.10.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.10.0...@contentful/field-editor-markdown@0.10.1) (2020-12-16)
248
159
 
249
160
  **Note:** Version bump only for package @contentful/field-editor-markdown
250
161
 
251
-
252
-
253
-
254
-
255
162
  # [0.10.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.9.9...@contentful/field-editor-markdown@0.10.0) (2020-12-16)
256
163
 
257
-
258
164
  ### Features
259
165
 
260
- * minHeight props ([#529](https://github.com/contentful/field-editors/issues/529)) ([672e5d1](https://github.com/contentful/field-editors/commit/672e5d10356547ba99888dfeedc5ffd7b6e264cb))
261
-
262
-
263
-
264
-
166
+ - minHeight props ([#529](https://github.com/contentful/field-editors/issues/529)) ([672e5d1](https://github.com/contentful/field-editors/commit/672e5d10356547ba99888dfeedc5ffd7b6e264cb))
265
167
 
266
168
  ## [0.9.9](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.9.8...@contentful/field-editor-markdown@0.9.9) (2020-12-14)
267
169
 
268
170
  **Note:** Version bump only for package @contentful/field-editor-markdown
269
171
 
270
-
271
-
272
-
273
-
274
172
  ## [0.9.8](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.9.7...@contentful/field-editor-markdown@0.9.8) (2020-11-30)
275
173
 
276
174
  **Note:** Version bump only for package @contentful/field-editor-markdown
277
175
 
278
-
279
-
280
-
281
-
282
176
  ## [0.9.7](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.9.6...@contentful/field-editor-markdown@0.9.7) (2020-11-06)
283
177
 
284
178
  **Note:** Version bump only for package @contentful/field-editor-markdown
285
179
 
286
-
287
-
288
-
289
-
290
180
  ## [0.9.6](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.9.5...@contentful/field-editor-markdown@0.9.6) (2020-11-06)
291
181
 
292
182
  **Note:** Version bump only for package @contentful/field-editor-markdown
293
183
 
294
-
295
-
296
-
297
-
298
184
  ## [0.9.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.9.4...@contentful/field-editor-markdown@0.9.5) (2020-10-28)
299
185
 
300
-
301
186
  ### Bug Fixes
302
187
 
303
- * 🐛 isInitiallyDisabled being null in examples ([#414](https://github.com/contentful/field-editors/issues/414)) ([df53405](https://github.com/contentful/field-editors/commit/df534055cfa64c533725cb5bca392a0a82e54be6))
304
-
305
-
306
-
307
-
188
+ - 🐛 isInitiallyDisabled being null in examples ([#414](https://github.com/contentful/field-editors/issues/414)) ([df53405](https://github.com/contentful/field-editors/commit/df534055cfa64c533725cb5bca392a0a82e54be6))
308
189
 
309
190
  ## [0.9.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.9.3...@contentful/field-editor-markdown@0.9.4) (2020-09-21)
310
191
 
311
192
  **Note:** Version bump only for package @contentful/field-editor-markdown
312
193
 
313
-
314
-
315
-
316
-
317
194
  ## [0.9.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.9.2...@contentful/field-editor-markdown@0.9.3) (2020-08-31)
318
195
 
319
196
  **Note:** Version bump only for package @contentful/field-editor-markdown
320
197
 
321
-
322
-
323
-
324
-
325
198
  ## [0.9.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.9.1...@contentful/field-editor-markdown@0.9.2) (2020-08-24)
326
199
 
327
-
328
200
  ### Bug Fixes
329
201
 
330
- * trim empty lines in markdown editor ([f2e0532](https://github.com/contentful/field-editors/commit/f2e05324d21f259293a77a364603f2d438a55fed))
331
-
332
-
333
-
334
-
202
+ - trim empty lines in markdown editor ([f2e0532](https://github.com/contentful/field-editors/commit/f2e05324d21f259293a77a364603f2d438a55fed))
335
203
 
336
204
  ## [0.9.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@0.9.0...@contentful/field-editor-markdown@0.9.1) (2020-08-24)
337
205
 
package/README.md CHANGED
@@ -8,6 +8,5 @@ This package contains a React `MarkdownEditor` component that is used as a defau
8
8
 
9
9
  ```js
10
10
  import 'codemirror/lib/codemirror.css';
11
- import '@contentful/forma-36-react-components/dist/styles.css';
12
11
  import { MarkdownEditor } from '@contentful/field-editor-markdown';
13
12
  ```
@@ -3,4 +3,5 @@ import { HeadingType } from '../types';
3
3
  export declare const HeadingSelector: (props: {
4
4
  children: React.ReactElement;
5
5
  onSelect: (heading: HeadingType) => void;
6
+ tooltip?: string | undefined;
6
7
  }) => JSX.Element;
@@ -5,17 +5,8 @@ declare type IconProps = {
5
5
  className?: string;
6
6
  label: string;
7
7
  };
8
- export declare const Bold: ({ label, ...rest }: IconProps) => JSX.Element;
9
- export declare const Italic: ({ label, ...rest }: IconProps) => JSX.Element;
10
- export declare const Quote: ({ label, ...rest }: IconProps) => JSX.Element;
11
- export declare const List: ({ label, ...rest }: IconProps) => JSX.Element;
12
- export declare const ListOl: ({ label, ...rest }: IconProps) => JSX.Element;
13
- export declare const Link: ({ label, ...rest }: IconProps) => JSX.Element;
14
- export declare const Heading: ({ label, ...rest }: IconProps) => JSX.Element;
15
8
  export declare const Zen: ({ label, ...rest }: IconProps) => JSX.Element;
16
9
  export declare const Strikethrough: ({ label, ...rest }: IconProps) => JSX.Element;
17
- export declare const Code: ({ label, ...rest }: IconProps) => JSX.Element;
18
- export declare const Hr: ({ label, ...rest }: IconProps) => JSX.Element;
19
10
  export declare const Indent: ({ label, ...rest }: IconProps) => JSX.Element;
20
11
  export declare const Dedent: ({ label, ...rest }: IconProps) => JSX.Element;
21
12
  export declare const Cubes: ({ label, ...rest }: IconProps) => JSX.Element;